<h1>Activitys List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Fist name</th>
      <th>Description</th>
      <th>Module</th>
      <th>Next</th>
      <th>Previous</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($activitys as $activity): ?>
    <tr>
      <td><a href="<?php echo url_for('activity/show?id='.$activity->getId()) ?>"><?php echo $activity->getId() ?></a></td>
      <td><?php echo $activity->getFistName() ?></td>
      <td><?php echo $activity->getDescription() ?></td>
      <td><?php echo $activity->getModuleId() ?></td>
      <td><?php echo $activity->getNextId() ?></td>
      <td><?php echo $activity->getPreviousId() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('activity/new') ?>">New</a>
